<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/WEB-INF/jsp/manage/common/taglibs.jsp" %>
<script type="text/javascript">
    $(function () {
        /*$("#manage_wirelessSmokeFeelReport_datagrid").treegrid({

        });*/
        $.acooly.framework.registerKeydown('manage_wirelessSmokeFeelReport_from', 'manage_wirelessSmokeFeelReport_datagrid');
    });
     function wirelessSmokeFeelReport_t(value,row) {
            return value;
     }
    function electrictyMeter_t1(value,row) {
         debugger;
        var f_type= $("#f_type").val();
        var str="'ffffff100000648f','ffffff1000006672','ffffff1000006808','ffffff100000631d','ffffff10000069f6'";
        $.acooly.framework.show('/manage/demo/report/listAll.html?eId=9&eqid='+str+'&createTime='+value+'&type='+f_type,1300,500);
    }
    function LeakWaterReport_t_b(value,row) {
        debugger
        return "√(正常) X(报警)"
    }
    function equipentSmoke(value,row) {
        return '   <a onclick=" electrictyMeter_t1(\''+row.createTime+'\') " href="#" title="查看"><i class="fa fa-file-o fa-lg fa-fw fa-col"></i></a>';
    }
</script>
<div class="easyui-layout" data-options="fit : true,border : false">
    <!-- 查询条件 -->
    <div data-options="region:'north',border:false" style="padding:5px; overflow: hidden;" align="left">
    <form id="manage_wirelessSmokeFeelReport_from">
        <table class="tableForm" width="100%">
            <tr>
                <td align="left">
                    <div>
                        <span>类型：</span>
                        <select name="type" id="f_type" editable="false" style="height:27px;width: 150px" panelHeight="auto" class="easyui-combobox">
                            <option value="1">日报</option>
                            <option value="2">月报</option>
                            <option value="3">年报</option>
                        </select>
                        <span class="div_outter_text">
                            <input  name="begin" type="text" onFocus="WdatePicker({readOnly:false,dateFmt:'yyyy-MM-dd HH:mm:ss'})" style="line-height:28px;
                                   border-radius: 5px; border:1px #95B8E7 solid; width:146px; vertical-align: middle;" placeholder="开始时间" prompt="限办时间(开始)"/>
                        </span>
                        <span class="div_outter_text">
                            <input  name="end" type="text" onFocus="WdatePicker({readOnly:false,dateFmt:'yyyy-MM-dd HH:mm:ss'})" style="line-height: 28px;
                                border-radius: 5px; border:1px #95B8E7 solid; width:146px; vertical-align: middle;" placeholder="结束时间" prompt="限办时间(结束)" />
                        </span>
                        <a href="javascript:void(0);" class="easyui-linkbutton" data-options="plain:false"
                           onclick="$.acooly.framework.search('manage_wirelessSmokeFeelReport_from','manage_wirelessSmokeFeelReport_datagrid');">
                            <i class="fa fa-search fa-lg fa-fw fa-col"></i>查询</a>
                        <a href="#" class="easyui-linkbutton" iconCls="icon-excel" plain="false"
                           onclick="$.lora.common.commonExportReport('manage_wirelessSmokeFeelReport_datagrid','无线烟感')">导出</a>
                    </div>
                </td>
            </tr>
        </table>
    </form>
</div>
<div data-options="region:'center',border:false">
    <table id="manage_wirelessSmokeFeelReport_datagrid" class="easyui-datagrid" url="/manage/demo/report/wirelessSmokeFeelReport.html" toolbar="#manage_wirelessSmokeFeelReport_toolbar" fit="true" border="false" fitColumns="false"
           checkOnSelect="true" selectOnCheck="true" singleSelect="true">

    <thead>
    <tr>

        <th align="center" colspan="8">无线烟感</th>
    </tr>
    <tr>
        <th field="rowActions" data-options="formatter:function(value, row, index){return equipentSmoke(value,row)}">动作</th>
        <th align="center" field="createTime"   width="100">记录时间</th>
        <th align="center" field="a" data-options="formatter:function(value, row, index){ return wirelessSmokeFeelReport_t(value,row) }" >操作台顶烟感</th>
        <th align="center" field="b" data-options="formatter:function(value, row, index){ return wirelessSmokeFeelReport_t(value,row) }">1号机柜顶烟感</th>
        <th align="center" field="c" data-options="formatter:function(value, row, index){ return wirelessSmokeFeelReport_t(value,row) }">10号机柜顶烟感</th>
        <th align="center" field="d" data-options="formatter:function(value, row, index){ return wirelessSmokeFeelReport_t(value,row) }">2号机柜烟感</th>
        <th align="center" field="e" data-options="formatter:function(value, row, index){ return wirelessSmokeFeelReport_t(value,row) }">9号机柜烟感</th>
        <th align="center" field="id" data-options="formatter:function(value, row, index){ return LeakWaterReport_t_b(value,row) }">备注</th>
    </tr>
    </thead>
</table>
<div id="manage_wirelessSmokeFeelReport_toolbar">

</div>
</div>
</div>